import { EntityModel } from "@midwayjs/orm";
import {Column, PrimaryColumn} from 'typeorm'

@EntityModel('book')
export class Book {
    @PrimaryColumn({type: 'bigint'})
    id:number;

    @Column()
    ownerid:string;

    @Column()
    petid:string;

    @Column()
    employeeid:string;

    @Column()
    booktime:string;
    
    @Column()
    status:string;

}